home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Revista CD Expert 28
/
CD Expert nº 28.iso
/
Space Bunnies Must Die
/
demopeps.z
/
thegame.dll
/
SYMS
/
128
Wrap
Text File
|
1998-10-27
|
33KB
|
1,486 lines
File Flow
{
version { 1, 9 };
author "Tom Schenck";
copyright "(C) 1997 by Jinx Incorporated";
};
DefStruct fxVec3
{
tag "fxVec3";
field { x, REAL };
field { y, REAL };
field { Z, REAL };
};
DefStruct fxRot2
{
tag "fxRot2";
field { x, REAL };
field { y, REAL };
};
DefStruct fxCone
{
tag "fxCone";
field { xMin, REAL };
field { xMax, REAL };
field { yMin, REAL };
field { yMax, REAL };
};
DefStruct gAttributes
{
tag "gAttributes";
field { rHealth, REAL };
field { rAccuracy, REAL };
};
/////////////////////////////////////////////////////
// custom build types
/////////////////////////////////////////////////////
DefEnum GameBuildTypes
{
value BeTaskSet;
value PlayList;
value KeyMap;
};
/////////////////////////////////////////////////////
// Behavior Info
/////////////////////////////////////////////////////
DefBitFld bvBehObjInfoFlags
{
bits { DisposeAfterDeath, 1 };
};
DefBitFld bvBehFlags
{
bits { Interuptable, 1 };
bits { Loop, 1 };
bits { SetHeading, 1 };
bits { UnsetHeading, 1 };
bits { Lock, 1 };
bits { Unlock, 1 };
bits { ClearStack, 1 };
bits { UseRgnSynch, 1 };
bits { Procedural, 1 };
bits { UseInternalFlags, 1 };
bits { UsePos, 1 };
bits { UsePosLimits, 1 };
bits { PosDeterminesEnd, 1 };
bits { UseRot, 1 };
bits { UseRotLimits, 1 };
bits { RotDeterminesEnd, 1 };
bits { UseNextProcBeh, 1 };
};
DefStruct bvBehObjInfo
{
tag "bvBehObjInfo";
field { uFlags, bvBehObjInfoFlags };
field { shStartBeh, strHandle };
field { uStartBehFlags, bvBehFlags };
field { shHitBeh, strHandle };
field { uHitBehFlags, bvBehFlags };
field { vAttributes, gAttributes };
field { shDeathBeh, strHandle };
field { uDeathBehFlags, bvBehFlags };
field { shRgnSynchName, strHandle };
field { _hBehStack, mmHandle };
field { _vCurAttr, gAttributes };
field { _hPrxBox, mmHandle };
};
DefStruct bvProcBehInfo
{
tag "bvProcBehInfo";
field { uFlags, bvBehFlags };
field { shName, strHandle };
field { vPosIncr, fxVec3 };
field { vRotIncr, fxVec3 };
field { vPosLimits, fxVec3 };
field { vRotLimits, fxVec3 };
field { shNextProcBeh, strHandle };
};
DefProp { bvrBehObjInfo, bvBehObjInfo, void };
DefProp { bvrProcBehInfo, bvProcBehInfo, void };
// methods
DefNode BvrInit
{
icon 0;
class BvrInit;
field {hObj, hGeomObj};
};
DefNode BvrUpdate
{
icon 0;
class BvrUpdate;
constFlow ;
field {hObj, hGeomObj};
};
DefNode BvrCollide
{
icon 0;
class BvrCollide;
inflow {hitObject, hGeomObj, 0, 0};
outflow {Result, BOOLDATA, 0,0};
field {hObj, hGeomObj};
};
DefNode BvrRestore
{
icon 0;
class BvrRestore;
field {hObj, hGeomObj};
inflow {hPrx, hObject, 0, 0};
};
DefNode BvrDispose
{
icon 0;
class BvrDispose;
field {hObj, hGeomObj};
};
DefNode BehaviorLoopMethod
{
icon 0;
class BehaviorLoopMethod;
constFlow ;
field {hObj, hGeomObj};
};
DefNode BvrLoopRestore
{
icon 0;
class BvrLoopRestore;
constFlow ;
field {hObj, hGeomObj};
inflow {hPrx, hObject, 0, 0};
};
DefNode WatchUpdate
{
icon 0;
class WatchUpdate;
constFlow ;
field {hObj, hGeomObj};
};
DefNode LightUpdate
{
icon 0;
class LightUpdate;
constFlow ;
field {hObj, hGeomObj};
};
/////////////////////////////////////////////////////
// Behavior Task
/////////////////////////////////////////////////////
DefEnum betCameraModeEnum
{
xValue { Auto, 1 };
xValue { Shoulder, 2 };
xValue { ProfileRight, 3 };
xValue { ProfileLeft, 4 };
xValue { Above, 5 };
xValue { Lock, 6 };
};
DefBitFld betCameraFlags
{
bits { CameraTeleport, 1 };
bits { CameraPerfectFollowPos, 1 };
bits { LoadNewLevel, 1 };
bits { SaveCurrentGame, 1 };
};
DefStruct betCameraInfo
{
tag "betCameraInfo";
field { uMode, betCameraModeEnum };
field { rPosLag, REAL };
field { rRotLag, REAL };
field { rRotation, REAL };
field { vAutoDist, fxVec3 };
field { vShoulderDist, fxVec3 };
field { vProfileLDist, fxVec3 };
field { vProfileRDist, fxVec3 };
field { vAboveDist, fxVec3 };
};
DefStruct thePlayerCamera
{
tag "thePlayerCamera";
field { PositionLagPercent, fxVec3 };
field { RotationLagPercent, fxVec3 };
field { TargetOffsetPointIn, fxVec3 };
field { TargetOffsetPointOut, fxVec3 };
field { CameraOrientationIn, fxVec3 };
field { CameraOrientationOut, fxVec3 };
field { CameraIdleDistance, REAL };
field { CameraMoveDistance, REAL };
field { CameraLookDistance, REAL };
field { CameraMinDistance, REAL };
};
DefStruct betCameraManualInfo
{
tag "betCameraManualInfo";
field { rLongitudeSpeed, REAL };
field { rLatitudeSpeed, REAL };
field { rMinAngle, REAL };
};
DefNode AutoCamInitMethod
{
icon 0;
class CameraInit;
field {hObj, hGeomObj};
};
DefStruct betRobettInfo
{
tag "betRobettInfo";
field { rPosLag, REAL };
field { rRotLag, REAL };
field { rMinRadius, REAL };
field { rMaxRadius, REAL };
field { rMinHeightOffset, REAL };
field { rMaxHeightOffset, REAL };
field { shWeapon, strHandle };
field { _hWeapon, mmHandle };
field { shPatrolBox, strHandle };
field { _hPatrolBox, mmHandle };
};
DefNode RobettInit
{
icon 0;
class RobettInit;
field {hObj, hGeomObj};
};
DefEnum eFuncKeyEnum
{
value F1;
value F2;
value F3;
value F4;
value F5;
value F6;
value F7;
value F8;
value F9;
value F10;
value F11;
value F12;
};
DefStruct betTeleportInfo
{
tag "betTeleportInfo";
field { eFunctionKey, eFuncKeyEnum };
field { shPath, strHandle };
field { uFlags, betCameraFlags };
};
DefProp { objPlayerCameraInfo, thePlayerCamera, void };
DefProp { btCameraInfo, betCameraInfo, void };
DefProp { btCameraManualInfo, betCameraManualInfo,void };
DefProp { btRobettInfo, betRobettInfo, void };
DefProp { btTeleportInfo, betTeleportInfo, void };
DefProp { btFollowPriority, strHandle, void };
DefProp { btPatrolBox, strHandle, void };
DefProp { btToolNavs, strHandle, void };
/////////////////////////////////////////////////////
// Behavior Task Inventory
/////////////////////////////////////////////////////
DefBitFld betInvLocationFlags
{
bits { Right, 1 };
bits { Left, 1 };
};
DefBitFld betInvLocationType
{
bits { Hip, 1 };
bits { Back, 1 };
};
DefStruct betInvLocationInfo
{
tag "betInvLocationInfo";
field { shName, strHandle };
field { uFlags, betInvLocationFlags };
field { uType, betInvLocationType };
field { _hInvLocation, mmHandle };
field { shGetToolBeh, strHandle };
field { vToolPosOffset, fxVec3 };
field { vToolRotOffset, fxVec3 };
field { _hInvObj, mmHandle };
};
DefProp { btInvLocationInfo, betInvLocationInfo, void };
/////////////////////////////////////////////////////
// Behavior Task Tools
/////////////////////////////////////////////////////
DefStruct betToolInfo
{
tag "betToolInfo";
field { uFlags, betInvLocationFlags };
field { uType, betInvLocationType };
field { shShootBehavior, strHandle };
field { Cone, fxCone };
field { rDistMin, REAL };
field { rDistMax, REAL };
field { rInterpLag, REAL };
};
DefStruct betToolAmmoInfo
{
tag "betToolAmmoInfo";
field { shPkgName, strHandle };
field { shName, strHandle };
field { iType, INT32 };
field { iMaxInFlight, INT32 };
field { _hAmmoArray, mmHandle };
field { _hAmmoPackage, mmHandle };
field { _hAmmoInstance, mmHandle };
field { _hAmmoMaster, mmHandle };
};
DefProp { btToolInfo, betToolInfo, void };
DefProp { btToolAmmoInfo, betToolAmmoInfo, void };
DefNode ToolAmmoExplosion
{
icon 0;
class ToolAmmoExplosion;
constFlow ;
field {hObj, hGeomObj};
};
//DefNode ToolAmmoProjectile
//{
// icon 0;
// class ToolAmmoProjectile;
// constFlow ;
// field {hObj, hGeomObj};
//};
/////////////////////////////////////////////////////
// Proxy information
/////////////////////////////////////////////////////
DefBitFld PrxInfoFlags
{
bits { AttachToWorld, 1 };
};
DefStruct gfPrxInfo
{
tag "PrxInfo";
field { shPkgName, strHandle };
field { shRefObjName, strHandle };
field { uFlags, PrxInfoFlags };
};
// Proxy information
DefStruct gfPrxInstRadius
{
tag "PrxInstRadius";
field { rRadius, REAL };
field { rHystRadius, REAL };
};
// Region information
DefBitFld RgnInfoFlags
{
bits { InstanceAll, 1 };
};
DefStruct gfRgnInfo
{
tag "RgnInfo";
field { shPkgName, strHandle };
field { shRefObjName, strHandle };
field { uFlags, RgnInfoFlags };
};
DefStruct gRgnSynch
{
tag "gRgnSynch";
field { shName, strHandle };
field { shSynchObjName, strHandle };
field { shBehName, strHandle };
};
DefStruct gfLevelInfo
{
tag "LevelInfo";
field { shDefaultPalette, strHandle };
};
DefProp { PrxBehPkg, strHandle, void };
DefProp { PrxInfo, gfPrxInfo, void };
DefProp { PrxInstRadius, gfPrxInstRadius, void };
DefProp { RgnInfo, gfRgnInfo, void };
DefProp { RgnResPkgAdd, strHandle, void };
DefProp { gfRgnSynch, gRgnSynch, void };
DefProp { LevelInfo, gfLevelInfo, void };
DefProp { StartBox, strHandle, void };
// Region information
DefBitFld bfBuildFlags
{
bits { BSPPrep, 1 };
bits { RemoveStatics, 1 };
};
// Special Building Options
DefProp { CustomFileBuild, BOOL, void };
DefProp { BuildFlags, bfBuildFlags, void };
DefNode PrxRefObjDispose
{
icon 0;
class PrxRefObjDispose;
field {hObj, hGeomObj};
};
DefNode PrxBoxLoad
{
icon 0;
class gfPrxBoxLoadMethod;
field {hObj, hGeomObj};
inflow {hTarget, hObject, 0, 0};
};
DefNode PrxBoxRestore
{
icon 0;
class PrxBoxRestore;
field {hObj, hGeomObj};
inflow {hPrx, hObject, 0, 0};
};
DefNode PrxBoxUnload
{
icon 0;
class gfPrxBoxUnloadMethod;
field {hObj, hGeomObj};
inflow {hTarget, hObject, 0, 0};
};
DefNode RgnBoxLoad
{
icon 0;
class gfRgnBoxLoadMethod;
field {hObj, hGeomObj};
inflow {hTarget, hObject, 0, 0};
};
DefNode RgnBoxRestore
{
icon 0;
class RgnBoxRestore;
field {hObj, hGeomObj};
inflow {hPrx, hObject, 0, 0};
};
DefNode RgnBoxUnload
{
icon 0;
class gfRgnBoxUnloadMethod;
field {hObj, hGeomObj};
inflow {hTarget, hObject, 0, 0};
};
/////////////////////////////////////////////////////
// Hider Boxes
/////////////////////////////////////////////////////
DefNode HiderEnter
{
icon 0;
class HiderEnter;
field {hObj, hGeomObj};
inflow {hTarget, hObject, 0, 0};
};
DefNode HiderExit
{
icon 0;
class HiderExit;
field {hObj, hGeomObj};
inflow {hTarget, hObject, 0, 0};
};
/////////////////////////////////////////////////////
// Resource Flow
/////////////////////////////////////////////////////
DefNode ResStackEnter
{
icon 0;
class ResStackEnter;
field {hObj, hGeomObj};
inflow {hTarget, hObject, 0, 0};
};
DefNode ResStackExit
{
icon 0;
class ResStackExit;
field {hObj, hGeomObj};
inflow {hTarget, hObject, 0, 0};
};
/////////////////////////////////////////////////////
// Particle systems
/////////////////////////////////////////////////////
DefNode PtclUpdate
{
icon 0;
class PtclUpdate;
constFlow ;
field {hObj, hGeomObj};
};
/////////////////////////////////////////////////////
// Scripting
/////////////////////////////////////////////////////
DefEnum ActionBoxEnum
{
value Nav;
value Goal;
value Patrol;
value Team1;
value Team2;
value Team3;
value Res;
value Rgn;
value Prx;
value Hider;
};
DefStruct scActionBoxSnap
{
tag "scActionBoxSnap";
field { eActionBoxType ActionBoxEnum };
field { vPosPercents, fxVect3 };
field { vPosCloseness, fxVect3 };
field { vRotPercents, fxVect3 };
};
// running scripts when entering an action box
DefBitFld scActionBoxEnterExitFlags
{
bits { bLocal, 1 };
bits { bOnLastTarget, 1 };
bits { bOnAllTargets, 1 };
};
DefStruct scActionBoxEnterExit
{
tag "scActionBoxEnterExit";
field { shScrBehavior, strHandle };
field { uFlags, scActionBoxEnterExitFlags };
};
DefStruct scActionBoxMomentum
{
tag "scActionBoxMomentum";
field { vForceScaler, fxVec3 };
field { vTorqueScaler, fxVec3 };
field { vRelForceAdd, fxVec3 };
field { vRelTorqueAdd, fxVec3 };
};
// for swapping task sets
DefStruct scBeTaskSwapTopTask
{
tag "scBeTaskSwapTopTask";
field { shTopTaskName, strHandle };
};
// running scripts when entering an action box
DefBitFld scBeTaskTransferFlags
{
bits { bAttach, 1 };
};
// for transfering the betask sets
DefStruct scBeTaskTransfer
{
tag "scBeTaskTransfer";
field { uFlags, scBeTaskTransferFlags };
field { shCurrentTopTaskName, strHandle };
field { shNewTopTaskName, strHandle };
field { shPath, strHandle };
field { vPosOffset, fxVec3 };
field { vRotOffset, fxVec3 };
field { shNewStartBehavior, strHandle };
};
// running scripts when entering an action box
DefBitFld scCameraSetFlags
{
bits { bSetViewDistance, 1 };
bits { bSetHither, 1 };
bits { bSetYon, 1 };
bits { bSetOrthographic, 1 };
};
DefStruct scCameraSetAttr
{
tag "scCameraSetAttr";
field { eFlags, scCameraSetFlags };
field { rViewAngle, REAL };
field { rHither, REAL };
field { rYon, REAL };
field { bOrthographic, BOOL };
};
DefBitFld eVectorSetBits
{
bits { SetX, 1 };
bits { SetY, 1 };
bits { SetZ, 1 };
};
DefStruct scCameraSetInfo
{
tag "scCameraSetInfo";
field { SetRotationLag, eVectorSetBits };
field { RotationLagPercent, fxVect3 };
field { SetPositionLag, eVectorSetBits };
field { PositionLagPercent, fxVect3 };
field { SetTargetOffsetIn, eVectorSetBits };
field { TargetOffsetPointIn, fxVect3 };
field { SetTargetOffsetOut, eVectorSetBits };
field { TargetOffsetPointOut, fxVect3 };
field { SetCameraOrientationIn, eVectorSetBits };
field { CameraOrientationIn, fxVect3 };
field { SetCameraOrientationOut, eVectorSetBits };
field { CameraOrientationOut, fxVect3 };
field { CameraIdleDistance, REAL };
field { CameraMoveDistance, REAL };
field { CameraLookDistance, REAL };
field { CameraMinDistance, REAL };
};
DefStruct scCallMethod
{
tag "scCallMethod";
field { shName, strHandle };
};
DefBitFld scrCollisionsEnum
{
bits { Collide, 1 };
bits { NoCollide, 1 };
bits { Toggle, 1 };
bits { TreeCollide, 1 };
bits { TreeNoCollide, 1 };
bits { TreeToggle, 1 };
};
DefStruct scCollisions
{
tag "scCollisions";
field { uFlags, scrCollisionsEnum };
};
DefStruct scDamage
{
tag "scDamage";
field { rHealth, REAL };
field { rAccuracy, REAL };
};
DefBitFld scrInvAddFlags
{
bits { None, 1 };
};
DefStruct scInventoryAdd
{
tag "scInventoryAdd";
field { shPkgName, strHandle };
field { shRefObjName, strHandle };
field { uType, betInvLocationType };
field { uFlags, scrInvAddFlags };
};
// removing an inventory
DefBitFld scrInvRemoveFlags
{
bits { None, 1 };
};
DefStruct scInventoryRemove
{
tag "scInventoryRemove";
field { shRefObjName, strHandle };
field { uFlags, scrInvRemoveFlags };
};
DefStruct scInventoryToBindSite
{
tag "scInventoryToBindSite";
field { shOwnerName, strHandle };
field { bInvIsLeft, BOOL };
field { shBindSiteName, strHandle };
};
DefStruct scInventoryFromBindSite
{
tag "scInventoryFromBindSite";
field { shOwnerName, strHandle };
field { bInvIsLeft, BOOL };
field { shBindSiteName, strHandle };
};
DefStruct scInventoryAdd
{
tag "scInventoryAdd";
field { shPkgName, strHandle };
field { shRefObjName, strHandle };
field { uType, betInvLocationType };
field { uFlags, scrInvAddFlags };
};
// add something
DefBitFld scObjCheckoutAttachFlags
{
bits { bLockBehaviors, 1 };
bits { bDontPurgeOnRestore, 1 };
};
DefStruct scObjCheckoutAttach
{
tag "scObjCheckoutAttach";
field { shPkgName, strHandle };
field { shRefObjName, strHandle };
field { shBindSite, strHandle };
field { shToolBehave, strHandle };
field { uFlags, scObjCheckoutAttachFlags };
};
// removing an inventory
DefBitFld scObjUpdateDetachFlags
{
bits { bNothing, 1 };
};
DefStruct scObjUpdateDetach
{
tag "scObjUpdateDetach";
field { shRefObjName, strHandle };
field { uFlags, scObjUpdateDetachFlags };
};
// removing an inventory
DefBitFld scPhysicsOpFlags
{
bits { bReset, 1 };
};
DefStruct scPhysicsOp
{
tag "scPhysicsOp";
field { uFlags, scPhysicsOpFlags };
};
// setting a Background
DefBitFld scrBackgroundFlags
{
bits { Push, 1 };
};
DefStruct scResStackBackground
{
tag "scResStackBackground";
field { shPkgName, strHandle };
field { shName, strHandle };
field { iPriority, INT32 };
field { uFlags, scrBackgroundFlags };
field { _hBackground, mmHandle };
};
DefStruct scResStackMaterial
{
tag "scResStackMaterial";
field { shPkgName, strHandle };
field { shMaterialName, strHandle };
field { shOptionalPath, strHandle };
};
// setting a palette
DefBitFld scrPaletteFlags
{
bits { Push, 1 };
};
DefStruct scResStackPalette
{
tag "scResStackPalette";
field { shPkgName, strHandle };
field { shPaletteName, strHandle };
field { iPriority, INT32 };
field { uFlags, scrPaletteFlags };
field { _hPalette, mmHandle };
};
DefStruct scResStackMixPalette
{
tag "scResStackPalette";
field { shPkgName, strHandle };
field { shPaletteName, strHandle };
field { iPriority, INT32 };
field { uFlags, scrPaletteFlags };
field { startIdx, INT32 };
field { endIdx, INT32 };
field { _hPalette, mmHandle };
};
// setting a PlayList
DefBitFld scrPlayListFlags
{
bits { Start, 1 };
bits { Stop, 1 };
};
// type of fade
DefEnum scrPlayListFadeEnum
{
value Square;
value Linear;
value SquareRoot;
};
DefStruct scResStackPlayList
{
tag "scResStackPlayList";
field { shPkgName, strHandle };
field { shPlayListName, strHandle };
field { iPriority, INT32 };
field { uFlags, scrPlayListFlags };
field { rFadeInTime REAL };
field { uFadeInType scrPlayListFadeEnum };
field { rFadeOutTime REAL };
field { uFadeOutType scrPlayListFadeEnum };
field { _hPlayList, mmHandle };
};
DefBitFld scrRgnPrepFlags
{
bits { bPrep, 1 };
bits { bPickup, 1 };
};
DefStruct scRgnPrep
{
tag "scRgnPrep";
field { uFlags, scrRgnPrepFlags };
field { shLocationPath, strHandle };
};
DefBitFld scrRunBehaviorFlags
{
bits { bLoop, 1 };
bits { bSetHeading, 1 };
bits { bUnsetHeading, 1 };
bits { bInterupatble, 1 };
bits { bIsMixed, 1 };
// bits { bUseToSetup, 1 };
};
DefStruct scRunBehavior
{
tag "scRunBehavior";
field { shName, strHandle };
field { rTransition, REAL };
field { uFlags, scrRunBehaviorFlags };
field { _hBehavior, mmHandle };
};
DefStruct scRunBvr
{
tag "scRunBvr";
field { shName, strHandle };
field { rTransition, REAL };
field { uFlags, bvBehFlags };
};
DefBitFld scrRunSoundFlags
{
bits { bSetVol, 1 };
};
DefStruct scRunSound
{
tag "scRunSound";
field { shPkgName, strHandle };
field { shName, strHandle };
field { rRightVol, REAL };
field { rLeftVol, REAL };
field { uFlags, scrRunSoundFlags };
};
DefBitFld scSoundTrackingFlags
{
bits { bOn, 1 };
bits { bOff, 1 };
};
DefStruct scSoundTracking
{
tag "scSoundTracking";
field { bFlags, scSoundTrackingFlags };
field { rMaxDistance, REAL };
field { rMinVolume, REAL };
};
DefBitFld scrScriptOnActionFlags
{
bits { bScriptBehavior,1 };
bits { bLocal, 1 };
bits { bSetDataNamed, 1 };
bits { bRunBehavior, 1 };
bits { bLoop, 1 };
bits { bSetHeading, 1 };
bits { bUnsetHeading, 1 };
bits { bInterupatble, 1 };
bits { bOnMe, 1 };
bits { bOnAllTargets, 1 };
};
DefBitFld wWatchDispatchEventFlags
{
bits { bScriptBehavior,1 };
bits { bLocal, 1 };
bits { bSetDataNamed, 1 };
bits { bRunBehavior, 1 };
bits { bLoop, 1 };
bits { bSetHeading, 1 };
bits { bUnsetHeading, 1 };
bits { bInterupatble, 1 };
};
DefBitFld scScriptOnActionFlags
{
bits { bScriptBehavior,1 };
bits { bLocal, 1 };
bits { bSetDataNamed, 1 };
bits { bRunBehavior, 1 };
bits { bLoop, 1 };
bits { bSetHeading, 1 };
bits { bUnsetHeading, 1 };
bits { bInterupatble, 1 };
bits { bOnMe, 1 };
bits { bAllTargets, 1 };
};
DefStruct scScriptOnAction
{
tag "scScriptOnAction";
field { eActionBoxType ActionBoxEnum };
field { shName, strHandle };
field { uFlags, scScriptOnActionFlags };
};
DefBitFld scrScriptOnPathFlags
{
bits { bScriptBehavior, 1 };
bits { bLocal, 1 };
bits { bSetDataNamed, 1 };
bits { bRunBehavior, 1 };
bits { bLoop, 1 };
bits { bSetHeading, 1 };
bits { bUnsetHeading, 1 };
bits { bInterupatble, 1 };
bits { bRelToMe, 1 };
bits { bRelToParent, 1 };
bits { bRelToParentParent, 1 };
};
DefStruct scScriptOnPath
{
tag "scScriptOnPath";
field { shPath, strHandle };
field { shName, strHandle };
field { uFlags, scrScriptOnPathFlags };
};
DefBitFld scrScriptOnOffsetFlags
{
bits { bScriptBehavior,1 };
bits { bLocal, 1 };
bits { bSetDataNamed, 1 };
bits { bRunBehavior, 1 };
bits { bSetHeading, 1 };
bits { bUnsetHeading, 1 };
bits { bInterupatble, 1 };
};
DefStruct scScriptOnOffset
{
tag "scScriptOnOffset";
field { iOffset, INT32 };
field { shName, strHandle };
field { uFlags, scrScriptOnOffsetFlags };
};
DefStruct scSetScriptDelay
{
tag "scSetScriptDelay";
field { shPropName, strHandle };
field { uPropIndex, UINT32 };
field { rDelayTime, REAL };
field { iRepeatNum, INT32 };
};
DefStruct scSetBackColor
{
tag "scSetBackColor";
field { iPaletteIndex, INT32 };
};
DefBitFld HandleCacheFlags
{
bits { bSetPlayer, 1 };
bits { bSetCamera, 1 };
bits { bSetCameraTarget, 1 };
bits { bSetInstObj, 1 };
};
DefStruct scSetHandleCache
{
tag "scSetHandleCache";
field { uFlags, HandleCacheFlags };
field { shOptionalPath, strHandle };
};
DefStruct scTeleport
{
tag "scTeleport";
field { shPath, strHandle };
field { uFlags, betCameraFlags };
};
DefStruct scWatchLock
{
tag "scWatchLock";
field { bLock, BOOL };
};
DefEnum wpArithOpEnum
{
value Add;
value Sub;
value Set;
value Mult;
};
DefStruct wSetData
{
tag "wSetData";
field { shName, strHandle };
field { rValue, REAL };
field { bLocal, BOOL };
field { eOperation, wpArithOpEnum };
};
DefBitFld scrVisibleEnum
{
bits { Visible, 1 };
bits { Invisible, 1 };
bits { Toggle, 1 };
bits { TreeVisible, 1 };
bits { TreeInvisible, 1 };
bits { TreeToggle, 1 };
};
DefStruct scVisibility
{
tag "scVisibility";
field { uOperation, scrVisibleEnum };
};
DefStruct scSetActionType
{
tag "scActionBoxSnap";
field { eActionBoxType ActionBoxEnum };
};
// Scripting Props
DefProp { scrActionBoxSnap, scActionBoxSnap, void };
DefProp { scrActionBoxEnter, scActionBoxEnterExit, void };
DefProp { scrActionBoxExit, scActionBoxEnterExit, void };
DefProp { scrActionBoxMomentum, scActionBoxMomentum, void };
DefProp { scrBeTaskSwapTopTask, scBeTaskSwapTopTask, void };
DefProp { scrBeTaskTransfer, scBeTaskTransfer, void };
DefProp { scrCameraSetAttr, scCameraSetAttr, void };
DefProp { scrCameraSetInfo, scCameraSetInfo, void };
DefProp { scrCallMethod, scCallMethod, void };
DefProp { scrCollisions, scCollisions, void };
DefProp { scrDamage, scDamage, void };
DefProp { scrInventoryAdd, scInventoryAdd, void };
DefProp { scrInventoryRemove, scInventoryRemove, void };
DefProp { scrInventoryToBindSite, scInventoryToBindSite, void };
DefProp { scrInventoryFromBindSite, scInventoryFromBindSite, void };
DefProp { scrObjCheckoutAttach, scObjCheckoutAttach, void };
DefProp { scrObjUpdateDetach, scObjUpdateDetach, void };
DefProp { scrPhysicsOp, scPhysicsOp, void };
DefProp { scrResStackBackground,scResStackBackground, void };
DefProp { scrResSetMaterial, scResStackMaterial, void };
DefProp { scrResStackPalette, scResStackPalette, void };
DefProp { scrResStackMixPalette,scResStackMixPalette, void };
DefProp { scrResStackPlayList, scResStackPlayList, void };
DefProp { scrRgnPrep, scRgnPrep, void };
DefProp { scrRunBehavior, scRunBehavior, void };
DefProp { scrRunBvr, scRunBvr, void };
DefProp { scrRunSound, scRunSound, void };
DefProp { scrSoundTracking, scSoundTracking, void };
DefProp { scrScriptOnAction, scScriptOnAction, void };
DefProp { scrScriptOnPath, scScriptOnPath, void };
DefProp { scrScriptOnOffset, scScriptOnOffset, void };
DefProp { scrSetScriptDelay, scSetScriptDelay, void };
DefProp { scrSetBackColor, scSetBackColor, void };
DefProp { scrSetHandleCache, scSetHandleCache, void };
DefProp { scrSetInstRadius, gfPrxInstRadius, void };
DefProp { scrTeleport, scTeleport, void };
DefProp { scrWatchLock, scWatchLock, void };
DefProp { scrWatchSet, wSetData, void };
DefProp { scrVisibility, scVisibility, void };
DefProp { scrSetActionType, scSetActionType, void };
DefProp { scrFinalMovie, INT32, void };
DefNode Script
{
icon 0;
class Script;
field {hObj, hGeomObj};
inflow {hTarget, hObject, 0, 0};
};
DefNode ScriptSetProp
{
icon 0;
class ScriptSetProp;
field {hObj, hGeomObj};
inflow {hTarget, hObject, 0, 0};
};
DefNode ScriptActionBoxEnter
{
icon 0;
class ScriptActionBoxEnter;
field {hObj, hGeomObj};
inflow {hTarget, hObject, 0, 0};
};
DefNode ScriptActionBoxExit
{
icon 0;
class ScriptActionBoxExit;
field {hObj, hGeomObj};
inflow {hTarget, hObject, 0, 0};
};
/////////////////////////////////////////////////////
// Sense Manager
/////////////////////////////////////////////////////
DefStruct smvHystVect
{
tag "smvHystVect";
field { rRelX, REAL };
field { rRelY, REAL };
field { rRelZ, REAL };
};
DefProp { smHystVect, smvHystVect, void };
/////////////////////////////////////////////////////
// Watch Props
/////////////////////////////////////////////////////
DefEnum wpBoolOpEnum
{
value Equal;
value NotEqual;
value GreaterThan;
value GreaterThanOrEqual;
value LessThan;
value LessThanOrEqual;
};
DefStruct wGameState
{
tag "wGameState";
field { shName, strHandle };
field { rValue, REAL };
field { bLocal, BOOL };
field { _hWatcherList, mmHandle };
field { _hOwnerList, mmHandle };
};
DefStruct wWatchFor
{
tag "wWatchFor";
field { shGameStateName, strHandle };
field { rValue, REAL };
field { bLocal, BOOL };
field { eEvaluation, wpBoolOpEnum };
field { shScrBehavior, strHandle };
};
DefStruct wWatchForNew
{
tag "wWatchForNew";
field { shGameStateName, strHandle };
field { rValue, REAL };
field { bLocal, BOOL };
field { eEvaluation, wpBoolOpEnum };
field { shName, strHandle };
field { uFlags, wWatchDispatchEventFlags };
};
DefBitFld wWatchRestoreFlags
{
bits { ScriptBehavior, 1 };
bits { SetupBehavior, 1 };
};
DefStruct wWatchRestore
{
tag "wWatchRestore";
field { shGameStateName, strHandle };
field { rValue, REAL };
field { bLocal, BOOL };
field { eEvaluation, wpBoolOpEnum };
field { shName, strHandle };
field { uFlags, wWatchRestoreFlags };
};
DefStruct wSetDataNamed
{
tag "wSetDataNamed";
field { shName, strHandle };
field { SetData, wSetData };
};
// Watch Props
DefProp { wpBehPkgName, strHandle, void };
DefProp { wpGameState, wGameState, void };
DefProp { wpWatchFor, wWatchFor, void };
DefProp { wpWatchForNew, wWatchForNew, void };
DefProp { wpWatchRestore, wWatchRestore, void };
DefProp { wpSetDataNamed, wSetDataNamed, void };
// methods
DefNode WatchInit
{
icon 0;
class WatchInit;
field {hObj, hGeomObj};
};
DefNode WatchDispose
{
icon 0;
class WatchDispose;
field {hObj, hGeomObj};
};
DefStruct FallDamageProp
{
tag "FallDamageProp";
field { DamageThresh, REAL };
field { DamagePerFoot, REAL };
};
DefStruct GoalOffsetData
{
tag "GoalOffsetData";
field { distance, REAL };
field { height, REAL };
};
DefStruct AmmoAttributes
{
tag "AmmoAttributes";
field { rDamage, REAL };
field { rRange, REAL };
field { rChargeTime, REAL };
};
DefProp { tAmmoAttributes, AmmoAttributes, void };
DefStruct WeightData
{
tag "WeightData";
field { xPos, REAL };
field { yPos, REAL };
field { zPos, REAL };
field { xRot, REAL };
field { yRot, REAL };
field { zRot, REAL };
};
DefStruct dfPhysData
{
tag "PhysData";
field { stiffness, REAL };
field { bounce, REAL };
field { mass, REAL };
field { gravity, REAL };
field { rotDrag, REAL };
field { transDrag, REAL };
};
DefStruct ConstraintData
{
tag "ConstraintData";
field { minimum, WeightData };
field { maximum, WeightData };
};
DefProp { Attributes, gAttributes, void };
DefProp { DangerThresh, REAL, void };
DefProp { DeathBvr, strHandle, void };
DefProp { DiffWeights, WeightData, void };
DefProp { FallThresh, REAL, void };
DefProp { FallDamage, FallDamageProp, void };
DefProp { GoalBehave, strHandle, void };
DefProp { GoalWatchBehave, wWatchFor, void };
DefProp { GoalRange, fxVect3, void };
DefProp { GoalOffset, GoalOffsetData, void };
DefProp { GoalRadius, REAL, void };
DefProp { StandardDuration, REAL, void };
DefProp { TapDuration, REAL, void };
DefProp { TopTask, strHandle, void };
DefProp { TransDrag, REAL, void };
DefProp { ParadigmShift, strHandle, void };
DefNode CharacterInitMethod
{
icon 0;
class CharacterInitMethod;
field {hObj, hGeomObj};
};
DefNode CharacterBehaveTaskMethod
{
icon 0;
class CharacterBehaveTaskMethod;
constFlow ;
field {hObj, hGeomObj};
};
DefNode CharacterCollideMethod
{
icon 0;
class CharacterCollideMethod;
inflow {hitObject, hGeomObj, 0, 0};
outflow {Result, BOOLDATA, 0,0};
field {hObj, hGeomObj};
};
DefNode BeTaskRestore
{
icon 0;
class BeTaskRestore;
field {hObj, hGeomObj};
inflow {hPrx, hObject, 0, 0};
};
DefNode CharacterDisposeMethod
{
icon 0;
class CharacterDisposeMethod;
field {hObj, hGeomObj};
};
DefNode GunFireMethod
{
icon 0;
class GunFireMethod;
field {hObj, hGeomObj};
};
DefNode ImpactAmmoCollideMethod
{
icon 0;
class ImpactAmmoCollideMethod;
inflow {hitObject, hGeomObj, 0, 0};
outflow {Result, BOOLDATA, 0,0};
field {hObj, hGeomObj};
};
DefNode ExplodingAmmoCollideMethod
{
icon 0;
class ExplodingAmmoCollideMethod;
inflow {hitObject, hGeomObj, 0, 0};
outflow {Result, BOOLDATA, 0,0};
field {hObj, hGeomObj};
};
DefNode FieldAmmoCollideMethod
{
icon 0;
class FieldAmmoCollideMethod;
inflow {hitObject, hGeomObj, 0, 0};
outflow {Result, BOOLDATA, 0,0};
field {hObj, hGeomObj};
};
DefNode AmmoFlightMethod
{
icon 0;
class AmmoFlightMethod;
constFlow ;
field {hObj, hGeomObj};
};
DefNode HAREFireMethod
{
icon 0;
class HAREFireMethod;
field {hObj, hGeomObj};
};
DefNode AmmoDestroyMethod
{
icon 0;
class AmmoDestroyMethod;
field {hObj, hGeomObj};
};